<%@page import="svn_photo.Photo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>photoCode_Modify_result.jsp</title>
<script src='photo_sc.js'></script>
<style>
@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
#maintot{
	padding-top:30px;/*위에 칸을 띄우는 것*/	
}
#mainbox{
	width:700px;
	height:700px;
	/*border:1px solid #faa719;*/
	margin:0 auto;
	margin-bottom: 50px;
}
#top{
	width:100%;
	height:50px;
	color:#000000;
	font-size:37px;
	font-family: 'Nanum Gothic', sans-serif;
	padding-top:10px;/*위에 칸을 띄우는 것*/
	
	text-shadow:1px 1px 1px #A4A4A4;
	font-weight: bolder;
}
#top2{
	border:3px solid #faa719;
}
#center{
	position:absolute;
}
#cent1{
	width:300px;
	height:100px;
	/*border:1px solid #faa719;*/
	position:absolute;
	top:100px;
	left:50px;
	background-image:url(./image/hta.logo.jpg);
	background-repeat:no-repeat;
	background-size:100% 100%;
	
}
#cent2{
	width:600px;
	height:350px;
	border:5px solid #faa719;
	position:absolute;
	top:210px;
	left:50px;
	
	border-top-right-radius:30px;
	border-bottom-right-radius:30px;
	border-top-left-radius:30px;
	border-bottom-left-radius:30px;
}
#cent22{
	width:500px;
	height:250px;
	/*border:1px solid #faa719;*/
	position:absolute;
	top:13%;
	left:8%;
}
#mun{
	margin-top:70px;
	margin-left:70px;
	
	text-shadow:1px 1px 1px #A4A4A4;
	font-weight: bolder;
}
#mun1{
	margin-top:70px;
	margin-left:110px;
	
	text-shadow:1px 1px 1px #A4A4A4;
	font-weight: bolder;
}

#buttonTot{
	margin-top:20px;
	margin-left:80px;
	width:500px;
	height:60px;
	
	/*border:3px solid #faa719;*/
	position:absolute;
	top:210px;
	left:100px
}
#codeList{	
	width:140px;
	height:40px;
	background-color: #faa719;
	font-family: 'Nanum Gothic', sans-serif;
	font-size:18px;
	color:#000000;
	
	border:1px solid #faa719;
	border-top-right-radius:5px;
	border-bottom-right-radius:5px;
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
	box-shadow:4px 3px 6px #dddddd;
	
	text-shadow:1px 1px 1px #DF7401;
	font-weight: bolder;
}
</style>
</head>
<body>
<jsp:useBean id="photoVo" class="svn_photo.photoVo"></jsp:useBean>
<jsp:setProperty property="*" name="photoVo"/>
<%
Photo p= new Photo();
p.setVo(photoVo);
%>
</style>
</head>
<body>
<div id='maintot'>
	<div id='mainbox'>
		<div id='top'>
			&nbsp;&nbsp;코 드 수 정 &nbsp;&nbsp;결 과
			<hr id='top2'>
		</div>
		<div id='center'>
			<div id='cent1'>
			</div>
			<div id='cent2'>
				<div id='cent22'>
				<%
				if(p.codeModify()){%>
					<div id='mun'><font color='#0404B4' face='Nanum Gothic' size='6'>성공적으로 수정 되었습니다.</font></div>
				<%}else{%>
					<div id='mun1'><font color='#0404B4' face='Nanum Gothic' size='6'>수정작업중 오류발생.</font></div>
				<%}%>
					<div id='buttonTot'>
						<input type="button" value="목록" id='codeList'>
					</div>
				</div>
				
			</div><!-- cent2 -->
		</div>
	</div>
</div>
<script>
code2();
</script>
</body>
</html>